package cn.edu.zsc.blms.domain;

/**
 * 读者Domain
 */
public class Reader extends  BaseEntity{

    /**
     * 姓名
     */
    public String name;

    /**
     *电话
     */
    public String phone;

    /**
     * 是否禁用
     */
    public boolean disabled;

    public Reader(int id,String name,String phone){
        super(id);
        this.phone=phone;
        this.name=name;
    }
    @Override
    public String toString(){
        return "ID:" + id + "，姓名：" + name
                + "，电话：" + phone + "，禁用：" +(disabled ? "是" : "否");
    }
}

